package com.itheima.immutableDemo;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class ImmutableDemo1 {
    public static void main(String[] args) {
        List<String> list = List.of("zhangsan", "Lisi", "wangwu");

        for (String s : list) {
            System.out.println(s);
        }

        Set<String> set = Set.of("aaa","bbb","ccc");

        Map<String, String> map = Map.of("a", "aaa","b","bbb");
    }
}
